package com.zmn.oms.common.dro.normal.acceptance;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 类描述：
 *
 * @author wangxiaokun
 * @since 2021/09/23 14:26
 */
@Data
public class OrderAcceptanceDRO implements Serializable {

    private static final long serialVersionUID = 7756592892293348715L;

    /**
     * 验收id
     */
    @ApiModelProperty(value = "验收id")
    private Long acceptanceId;

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    /**
     * 工单ID
     */
    @ApiModelProperty(value = "工单ID")
    private Long workId;

    /**
     * 验收类型 10、定金 11、尾款
     * @see com.zmn.oms.common.constant.OrderConsts#ORDER_ACCEPTANCE_TYPE_PAYMENT
     */
    @ApiModelProperty(value = "验收类型 10、定金 11、尾款")
    private Integer acceptanceType;

    /**
     * 验收结果 1 待验收  2 验收成功  3验收失败 4无需验收
     * @see com.zmn.oms.common.constant.OrderConsts#ORDER_ACCEPTANCE_STATUS_WAIT
     */
    @ApiModelProperty(value = "验收结果 1 待验收  2 验收成功  3验收失败 4无需验收")
    private Integer acceptanceResultStatus;

    /**
     * 验收失败类型
     * @see com.zmn.oms.common.constant.OrderConsts#ORDER_ACCEPTANCE_FAIL_TYPE_DEFAULT
     */
    @ApiModelProperty(value = "验收失败类型")
    private Integer failType;

    /**
     * 验收失败选项id，英文,分隔
     */
    @ApiModelProperty(value = "验收失败选项id，英文,分隔")
    private String reasonIds;

    /**
     * 验收失败选项值，英文,分隔
     */
    @ApiModelProperty(value = "验收失败选项值，英文,分隔")
    private String reasonValues;

    /**
     * 上门id
     */
    @ApiModelProperty(value = "上门id")
    private Long visitId;

    /**
     * 验收评价
     */
    @ApiModelProperty(value = "验收评价")
    private Integer acceptEvaluate;


    /**
     * 是否匿名 1:不是匿名, 2:匿名
     */
    @ApiModelProperty(value = "1:不是匿名, 2:匿名")
    private Integer anonymous;

}
